package com.project.light.service.impl;

import com.project.light.dto.DataStationLightingPlanParam;
import com.project.light.dto.DataStationLightingPlanStatus;
import com.project.light.dto.DateParam;
import com.project.light.mapper.GroupPlanMapper;
import com.project.light.service.GroupPlanService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class GroupPlanServiceImpl implements GroupPlanService {

    @Resource
    private GroupPlanMapper groupPlanMapper;

    @Override
    public List<DataStationLightingPlanParam> getSysList(DateParam dateParam) {
        List<DataStationLightingPlanParam> list = groupPlanMapper.getSysList(dateParam);
        return list;
    }

    @Override
    public List<DataStationLightingPlanStatus> getPlanList(DateParam dateParam) {
        List<DataStationLightingPlanStatus> list = groupPlanMapper.getPlanList(dateParam);
        return list;
    }
}
